package com.example.octopus.entity.returnMessage;

import com.example.octopus.entity.SendComment;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.List;
@Getter
@Setter
public class SendSelectReturnMessage {
    @JsonProperty("status")
    private int status;
    @JsonProperty("errmsg")
    private String errmsg;
    @JsonProperty("comments")
    private List<SendComment> comments;
    public SendSelectReturnMessage(int status, String errmsg, List<SendComment> comments) {
        this.status = status;
        this.errmsg = errmsg;
        this.comments = comments;
    }
}
